'use strict';

module.exports = app => {
  const {
    STRING,
    INTEGER,
  } = app.Sequelize;

  const Classify = app.model.define('classify', {
    cy_id: {
      type: INTEGER,
      primaryKey: true,
      autoIncrement: true
    },
    cy_name: STRING,
    cy_num: INTEGER,
    created_at: INTEGER,
  });

  return Classify;
};